<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace OSS\Result;

class InitiateMultipartUploadResult extends Result
{
    protected function parseDataFromResponse()
    {
        $content = $this->rawResponse->body;
        $xml = simplexml_load_string($content);
        if(isset($xml->UploadId)) {
            return strval($xml->UploadId);
        }
        throw new \OSS\Core\OssException("cannot get UploadId");
    }
}

?>